
const db = require('./db.js');

module.exports = {
    //获取对应部门
    GetDeptById: async (deptId) => {
        const sql = `select * from sys_dept where dept_id = ? and del_flag = 0 and status = 0`;
        return await db.query(sql, [deptId]);
    },


}
